//
//  DraftViewPresenter.h
//  CharlesMVX
//
//  Created by Charles on 2020/3/11.
//  Copyright © 2020 Charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserAPIManager.h"

NS_ASSUME_NONNULL_BEGIN
@class DraftCellPresenter;

@interface DraftViewPresenter : NSObject
+ (instancetype)presenterWithUserId:(NSUInteger)userId;

- (NSArray<DraftCellPresenter *> *)allDatas;

- (void)refreshDataWithCompletionHandler:(NetworkCompletionHandler)completionHander;
- (void)loadMoreDataWithCompletionHandler:(NetworkCompletionHandler)completionHander;
- (void)deleteDraftAtIndex:(NSUInteger)index completionHandler:(NetworkCompletionHandler)completionHander;

@end

NS_ASSUME_NONNULL_END
